home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Misc / Wood.0.72 / Sources / UPath.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-20  |  1.1 KB  |  53 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4. @interface UPath:Object
  5. {
  6.     int maxParams;
  7.     int maxOps;
  8.     BOOL ping;
  9. @public
  10.     float *bboxParams;
  11.     float *bbox;
  12.     float *params;
  13.     int sizeParams;
  14.     int sizeOps;
  15.     char *ops;
  16.     char *bboxOps;
  17.     NXPoint cp;  
  18. }
  19.  
  20. // creating and destroying
  21. - initCountParams:(int)numParams countOps:(int)numOps;
  22. - init;
  23. - free;
  24. - copyFromZone:(NXZone *)zone;
  25.  
  26. // accessing
  27. - getBounds:(NXRect *)aRect;
  28.  
  29. // defining user path
  30. - resetFill;
  31. - updateBBoxOnX:(float)x andY:(float)y;
  32. - moveto:(float)x :(float)y;
  33. - rmoveto:(float)x :(float)y;
  34. - lineto:(float)x :(float)y;
  35. - rlineto:(float)x :(float)y;
  36. - curveto:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)x3 :(float)y3;
  37. - rcurveto:(float)dx1 :(float)dy1 :(float)dx2 :(float)dy2 :(float)dx3 :(float)dy3;
  38. - arc:(float)x :(float)y :(float)r :(float)ang1 :(float)ang2;
  39. - arcn:(float)x :(float)y :(float)r :(float)ang1 :(float)ang2;
  40. - arct:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)r;
  41. - closepath;
  42.  
  43. // sending
  44. - debugSend:(int)op cached:(BOOL)cache;
  45. - send:(int)op cached:(BOOL)cache;
  46.  
  47. // archiving  
  48. - write:(NXTypedStream *)stream;
  49. - read:(NXTypedStream *)stream;
  50. - awake;
  51.  
  52. @end
  53.